home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Source / Chapter 10 / Test / Assets / Abandoned City.txt < prev    next >
Encoding:
Text File  |  2004-07-29  |  1.2 KB  |  35 lines

  1. name = The name of the scene.
  2. gravity = A 3D vector defining the force of gravity.
  3.  
  4. ambient_light = Ambient light level in the scene.
  5. sun_direction = Direction of the sun's light.
  6.  
  7. fog_colour = Colour of the fog in the scene.
  8. fog_density = How dense (thick) the fog is. High values indicate thicker fog.
  9.  
  10. mesh = Name of the mesh file for the scene.
  11. mesh_path = Path to locate the scene's mesh file.
  12.  
  13. max_faces = Maximum number of faces that any given scene leaf can contain.
  14. max_half_size = Maximum half size that any given scene leaf can be.
  15.  
  16. Note: A scene leaf will be divided if the total number of faces in the leaf is greater than max_faces and the size of the leaf divided by two (i.e. the leaf's "half size") is greater than max_half_size. Both conditions must evaluate to true for division to occur.
  17.  
  18. #begin
  19.  
  20. name          string "Abandoned City"
  21. gravity       vector 0.0 -9.81 0.0
  22.  
  23. ambient_light colour 0.5 0.5 0.5 1.0
  24. sun_direction vector -0.6 -0.3 0.4
  25.  
  26. fog_colour    colour 0.8 0.8 0.8 1.0
  27. fog_density   float  0.02
  28.  
  29. mesh          string "Abandoned City.x"
  30. mesh_path     string ./Assets/
  31.  
  32. max_faces     number 32
  33. max_half_size float  16.0
  34.  
  35. #end